package org.walkerljl.boss.service.schedule;

import org.walkerljl.commons.schedule.Job;
import org.walkerljl.commons.schedule.JobExecutionContext;
import org.walkerljl.commons.schedule.JobExecutionException;

public class PrintHelloWorldJob implements Job {

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        System.out.println("Hello world.");
        try {
            Thread.sleep(10000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
